home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000334_mdd08512@yahooDOT.com_Wed Sep 4 13:45:58 EDT 2002.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  75 lines

  1. Article: 13664 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!logbridge.uoregon.edu!arclight.uoregon.edu!news.tufts.edu!uunet!dca.uu.net!pnj-news-spl!not-for-mail
  3. From: "Michael Di Domenico" <mdd08512@yahooDOT.com>
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: scripting capturing of Cisco ARP tables
  6. Date: Wed, 4 Sep 2002 10:54:03 -0400
  7. Organization: Princeton eCom
  8. Lines: 54
  9. Message-ID: <al56qh$ddu$1@pnj-news-spl.princetonecom.com>
  10. References: <3d6e39ea@yorrell.saard.net> <un2f2ebdp7j0a7@news.supernews.com> <3d721a69@yorrell.saard.net>
  11. NNTP-Posting-Host: pnj-wks-12-105.princetonecom.com
  12. X-Trace: pnj-news-spl.princetonecom.com 1031151249 13758 192.168.12.105 (4 Sep 2002 14:54:09 GMT)
  13. X-Complaints-To: news@princetonecom.com
  14. NNTP-Posting-Date: Wed, 4 Sep 2002 14:54:09 +0000 (UTC)
  15. X-Priority: 3
  16. X-MSMail-Priority: Normal
  17. X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
  18. X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
  19. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13664
  20.  
  21.  
  22. "Arthur Marsh" <arthur.marsh@adelaide.edu.au> wrote in message
  23. news:3d721a69@yorrell.saard.net...
  24. > Thanks, I'll try that. I have been asked to use SNMP to get the
  25. > information rather than telnet but Kermit makes it so easy (-:.
  26. >
  27. > Arthur.
  28. >
  29. > those who know me have no need of my name wrote:
  30. > > in comp.protocols.kermit.misc i read:
  31. > >
  32. > >
  33. > >>Hi, I've been out of practice with writing Kermit scripts and want to
  34. > >>do the following:
  35. > >>
  36. > >>Given one series of IP addresses:
  37. > >>
  38. > >>telnet to each IP address in turn,
  39. > >>
  40. > >>send a:
  41. > >>
  42. > >>show arp
  43. > >>
  44. > >>command
  45. > >>
  46. > >>and send a space character as long as a "More" prompt appears
  47. > >
  48. > >
  49. > > fyi: send a ``term len 0'' before the ``show arp'', then it won't pause.
  50. > > if the session is to be left dangling you can send a ``term len 24''
  51. after
  52. > > you've coped with the arp output.
  53. > >
  54. >
  55.  
  56.  
  57. What's so hard about snmp?  Using the UCD-SNMP package, you can simply type
  58. the command below and get a list of all the ARP entries in the arp table.
  59. Kermit is great, but getting info from routers through snmp is so much
  60. easier and much less network load.
  61.  
  62. snmpwalk <host> <community> at.atTable.atEntry.atPhysAddress
  63. at.atTable.atEntry.atPhysAddress.2.1.192.168.10.1 =  Hex: 00 50 54 FF 2C 39
  64. at.atTable.atEntry.atPhysAddress.2.1.192.168.10.9 =  Hex: 08 00 20 AD D7 9E
  65. at.atTable.atEntry.atPhysAddress.2.1.192.168.10.10 =  Hex: 08 00 20 AE 5C 08
  66. at.atTable.atEntry.atPhysAddress.2.1.192.168.10.17 =  Hex: 00 01 42 32 ED 27
  67. at.atTable.atEntry.atPhysAddress.2.1.192.168.10.18 =  Hex: 08 00 20 AE 5C 08
  68. at.atTable.atEntry.atPhysAddress.2.1.192.168.10.19 =  Hex: 08 00 20 AD D7 9E
  69. at.atTable.atEntry.atPhysAddress.2.1.192.168.10.41 =  Hex: 08 00 20 B1 93 B3
  70.  
  71.  
  72.  
  73.  
  74.  
  75.